cmake_minimum_required(VERSION 3.16)

project(CCoroutineCore VERSION 0.1 LANGUAGES CXX)

find_package(Qt6 6.4 REQUIRED COMPONENTS Quick Network)


FILE (GLOB SOURCE "./*.h" "./*.cpp" "./*.c")

# Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1.
# If you are developing for iOS or macOS you should consider setting an
# explicit, fixed bundle identifier manually though.

add_library(
	CCoroutineCore
	SHARED
	${SOURCE}
)
target_compile_definitions(${PROJECT_NAME} PRIVATE ${PROJECT_NAME}_LIBRARY)
